<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Jetson Inference: detectNet::Detection Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NVLogo_2D.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Jetson Inference
   </div>
   <div id="projectbrief">DNN Vision Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structdetectNet_1_1Detection.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structdetectNet_1_1Detection-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">detectNet::Detection Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Object <a class="el" href="structdetectNet_1_1Detection.html" title="Object Detection result. ">Detection</a> result.  
 <a href="structdetectNet_1_1Detection.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="detectNet_8h_source.html">detectNet.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aeb58c09e547bd40f3a0e33cdd4c7640e"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#aeb58c09e547bd40f3a0e33cdd4c7640e">Width</a> () const</td></tr>
<tr class="memdesc:aeb58c09e547bd40f3a0e33cdd4c7640e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the height of the object.  <a href="#aeb58c09e547bd40f3a0e33cdd4c7640e">More...</a><br /></td></tr>
<tr class="separator:aeb58c09e547bd40f3a0e33cdd4c7640e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ae87aae76d065e19be1897119daba66"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#a2ae87aae76d065e19be1897119daba66">Height</a> () const</td></tr>
<tr class="memdesc:a2ae87aae76d065e19be1897119daba66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the area of the object.  <a href="#a2ae87aae76d065e19be1897119daba66">More...</a><br /></td></tr>
<tr class="separator:a2ae87aae76d065e19be1897119daba66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a239620621f33ed918d2f86a678a68c16"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#a239620621f33ed918d2f86a678a68c16">Area</a> () const</td></tr>
<tr class="memdesc:a239620621f33ed918d2f86a678a68c16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the center of the object.  <a href="#a239620621f33ed918d2f86a678a68c16">More...</a><br /></td></tr>
<tr class="separator:a239620621f33ed918d2f86a678a68c16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a127aaa41b6d1032aeb13fde8e6856247"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#a127aaa41b6d1032aeb13fde8e6856247">Center</a> (float *x, float *y) const</td></tr>
<tr class="memdesc:a127aaa41b6d1032aeb13fde8e6856247"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if the coordinate is inside the bounding box.  <a href="#a127aaa41b6d1032aeb13fde8e6856247">More...</a><br /></td></tr>
<tr class="separator:a127aaa41b6d1032aeb13fde8e6856247"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a62f35a001c19606c58c6b70b4fe633"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#a0a62f35a001c19606c58c6b70b4fe633">Contains</a> (float x, float y) const</td></tr>
<tr class="memdesc:a0a62f35a001c19606c58c6b70b4fe633"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if the bounding boxes overlap.  <a href="#a0a62f35a001c19606c58c6b70b4fe633">More...</a><br /></td></tr>
<tr class="separator:a0a62f35a001c19606c58c6b70b4fe633"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a344619ce0a8fc04050b3cb6238a815f9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#a344619ce0a8fc04050b3cb6238a815f9">Overlaps</a> (const <a class="el" href="structdetectNet_1_1Detection.html">Detection</a> &amp;det) const</td></tr>
<tr class="memdesc:a344619ce0a8fc04050b3cb6238a815f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if the bounding boxes overlap.  <a href="#a344619ce0a8fc04050b3cb6238a815f9">More...</a><br /></td></tr>
<tr class="separator:a344619ce0a8fc04050b3cb6238a815f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a425de0ee8eaca1dceea17280cb4890b4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#a425de0ee8eaca1dceea17280cb4890b4">Overlaps</a> (float x1, float y1, float x2, float y2) const</td></tr>
<tr class="memdesc:a425de0ee8eaca1dceea17280cb4890b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Expand the bounding box if they overlap (return true if so)  <a href="#a425de0ee8eaca1dceea17280cb4890b4">More...</a><br /></td></tr>
<tr class="separator:a425de0ee8eaca1dceea17280cb4890b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaae60d2bea1b7b1a331b7f880674dcaf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#aaae60d2bea1b7b1a331b7f880674dcaf">Expand</a> (float x1, float y1, float x2, float y2)</td></tr>
<tr class="memdesc:aaae60d2bea1b7b1a331b7f880674dcaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Expand the bounding box if they overlap (return true if so)  <a href="#aaae60d2bea1b7b1a331b7f880674dcaf">More...</a><br /></td></tr>
<tr class="separator:aaae60d2bea1b7b1a331b7f880674dcaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a0eb433ce423a5dbaf7e9f2f1c0cb34"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#a9a0eb433ce423a5dbaf7e9f2f1c0cb34">Expand</a> (const <a class="el" href="structdetectNet_1_1Detection.html">Detection</a> &amp;det)</td></tr>
<tr class="memdesc:a9a0eb433ce423a5dbaf7e9f2f1c0cb34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset all member variables to zero.  <a href="#a9a0eb433ce423a5dbaf7e9f2f1c0cb34">More...</a><br /></td></tr>
<tr class="separator:a9a0eb433ce423a5dbaf7e9f2f1c0cb34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15b1dafa33b267e1ee2cba6eba0a9ae1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#a15b1dafa33b267e1ee2cba6eba0a9ae1">Reset</a> ()</td></tr>
<tr class="memdesc:a15b1dafa33b267e1ee2cba6eba0a9ae1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#a15b1dafa33b267e1ee2cba6eba0a9ae1">More...</a><br /></td></tr>
<tr class="separator:a15b1dafa33b267e1ee2cba6eba0a9ae1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a985bb069089a55dc4a43d360486c1d1f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#a985bb069089a55dc4a43d360486c1d1f">Detection</a> ()</td></tr>
<tr class="separator:a985bb069089a55dc4a43d360486c1d1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a388eef39f557028d777d9102acd3c646"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#a388eef39f557028d777d9102acd3c646">Instance</a></td></tr>
<tr class="memdesc:a388eef39f557028d777d9102acd3c646"><td class="mdescLeft">&#160;</td><td class="mdescRight">Index of this unique object instance.  <a href="#a388eef39f557028d777d9102acd3c646">More...</a><br /></td></tr>
<tr class="separator:a388eef39f557028d777d9102acd3c646"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0baef8e908f93105f2e6d1202ae2954e"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#a0baef8e908f93105f2e6d1202ae2954e">ClassID</a></td></tr>
<tr class="memdesc:a0baef8e908f93105f2e6d1202ae2954e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class index of the detected object.  <a href="#a0baef8e908f93105f2e6d1202ae2954e">More...</a><br /></td></tr>
<tr class="separator:a0baef8e908f93105f2e6d1202ae2954e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04b420d87cc33bd1b3d3192509b4bfa5"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#a04b420d87cc33bd1b3d3192509b4bfa5">Confidence</a></td></tr>
<tr class="memdesc:a04b420d87cc33bd1b3d3192509b4bfa5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Confidence value of the detected object.  <a href="#a04b420d87cc33bd1b3d3192509b4bfa5">More...</a><br /></td></tr>
<tr class="separator:a04b420d87cc33bd1b3d3192509b4bfa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42914a705a6cad72e56a9ad4fb68b0e6"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#a42914a705a6cad72e56a9ad4fb68b0e6">Left</a></td></tr>
<tr class="memdesc:a42914a705a6cad72e56a9ad4fb68b0e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Left bounding box coordinate (in pixels)  <a href="#a42914a705a6cad72e56a9ad4fb68b0e6">More...</a><br /></td></tr>
<tr class="separator:a42914a705a6cad72e56a9ad4fb68b0e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa008c7f9d614b314281366b7797cd00a"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#aa008c7f9d614b314281366b7797cd00a">Right</a></td></tr>
<tr class="memdesc:aa008c7f9d614b314281366b7797cd00a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Right bounding box coordinate (in pixels)  <a href="#aa008c7f9d614b314281366b7797cd00a">More...</a><br /></td></tr>
<tr class="separator:aa008c7f9d614b314281366b7797cd00a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2776e71cde1e6c41676bb5e6d12b1d0d"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#a2776e71cde1e6c41676bb5e6d12b1d0d">Top</a></td></tr>
<tr class="memdesc:a2776e71cde1e6c41676bb5e6d12b1d0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Top bounding box cooridnate (in pixels)  <a href="#a2776e71cde1e6c41676bb5e6d12b1d0d">More...</a><br /></td></tr>
<tr class="separator:a2776e71cde1e6c41676bb5e6d12b1d0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97869bd21815bfc1ca005fa057329ffe"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdetectNet_1_1Detection.html#a97869bd21815bfc1ca005fa057329ffe">Bottom</a></td></tr>
<tr class="memdesc:a97869bd21815bfc1ca005fa057329ffe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bottom bounding box coordinate (in pixels)  <a href="#a97869bd21815bfc1ca005fa057329ffe">More...</a><br /></td></tr>
<tr class="separator:a97869bd21815bfc1ca005fa057329ffe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Object <a class="el" href="structdetectNet_1_1Detection.html" title="Object Detection result. ">Detection</a> result. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a985bb069089a55dc4a43d360486c1d1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a985bb069089a55dc4a43d360486c1d1f">&#9670;&nbsp;</a></span>Detection()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">detectNet::Detection::Detection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a239620621f33ed918d2f86a678a68c16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a239620621f33ed918d2f86a678a68c16">&#9670;&nbsp;</a></span>Area()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float detectNet::Detection::Area </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the center of the object. </p>

</div>
</div>
<a id="a127aaa41b6d1032aeb13fde8e6856247"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a127aaa41b6d1032aeb13fde8e6856247">&#9670;&nbsp;</a></span>Center()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void detectNet::Detection::Center </td>
          <td>(</td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return true if the coordinate is inside the bounding box. </p>

</div>
</div>
<a id="a0a62f35a001c19606c58c6b70b4fe633"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a62f35a001c19606c58c6b70b4fe633">&#9670;&nbsp;</a></span>Contains()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool detectNet::Detection::Contains </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return true if the bounding boxes overlap. </p>

</div>
</div>
<a id="aaae60d2bea1b7b1a331b7f880674dcaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaae60d2bea1b7b1a331b7f880674dcaf">&#9670;&nbsp;</a></span>Expand() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool detectNet::Detection::Expand </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Expand the bounding box if they overlap (return true if so) </p>

</div>
</div>
<a id="a9a0eb433ce423a5dbaf7e9f2f1c0cb34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a0eb433ce423a5dbaf7e9f2f1c0cb34">&#9670;&nbsp;</a></span>Expand() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool detectNet::Detection::Expand </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structdetectNet_1_1Detection.html">Detection</a> &amp;&#160;</td>
          <td class="paramname"><em>det</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reset all member variables to zero. </p>

</div>
</div>
<a id="a2ae87aae76d065e19be1897119daba66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ae87aae76d065e19be1897119daba66">&#9670;&nbsp;</a></span>Height()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float detectNet::Detection::Height </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate the area of the object. </p>

</div>
</div>
<a id="a344619ce0a8fc04050b3cb6238a815f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a344619ce0a8fc04050b3cb6238a815f9">&#9670;&nbsp;</a></span>Overlaps() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool detectNet::Detection::Overlaps </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structdetectNet_1_1Detection.html">Detection</a> &amp;&#160;</td>
          <td class="paramname"><em>det</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return true if the bounding boxes overlap. </p>

</div>
</div>
<a id="a425de0ee8eaca1dceea17280cb4890b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a425de0ee8eaca1dceea17280cb4890b4">&#9670;&nbsp;</a></span>Overlaps() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool detectNet::Detection::Overlaps </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Expand the bounding box if they overlap (return true if so) </p>

</div>
</div>
<a id="a15b1dafa33b267e1ee2cba6eba0a9ae1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15b1dafa33b267e1ee2cba6eba0a9ae1">&#9670;&nbsp;</a></span>Reset()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void detectNet::Detection::Reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default constructor. </p>

</div>
</div>
<a id="aeb58c09e547bd40f3a0e33cdd4c7640e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb58c09e547bd40f3a0e33cdd4c7640e">&#9670;&nbsp;</a></span>Width()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float detectNet::Detection::Width </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate the height of the object. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a97869bd21815bfc1ca005fa057329ffe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97869bd21815bfc1ca005fa057329ffe">&#9670;&nbsp;</a></span>Bottom</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float detectNet::Detection::Bottom</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Bottom bounding box coordinate (in pixels) </p>
<p>Calculate the width of the object </p>

</div>
</div>
<a id="a0baef8e908f93105f2e6d1202ae2954e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0baef8e908f93105f2e6d1202ae2954e">&#9670;&nbsp;</a></span>ClassID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t detectNet::Detection::ClassID</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Class index of the detected object. </p>

</div>
</div>
<a id="a04b420d87cc33bd1b3d3192509b4bfa5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04b420d87cc33bd1b3d3192509b4bfa5">&#9670;&nbsp;</a></span>Confidence</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float detectNet::Detection::Confidence</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Confidence value of the detected object. </p>

</div>
</div>
<a id="a388eef39f557028d777d9102acd3c646"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a388eef39f557028d777d9102acd3c646">&#9670;&nbsp;</a></span>Instance</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t detectNet::Detection::Instance</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Index of this unique object instance. </p>

</div>
</div>
<a id="a42914a705a6cad72e56a9ad4fb68b0e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42914a705a6cad72e56a9ad4fb68b0e6">&#9670;&nbsp;</a></span>Left</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float detectNet::Detection::Left</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Left bounding box coordinate (in pixels) </p>

</div>
</div>
<a id="aa008c7f9d614b314281366b7797cd00a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa008c7f9d614b314281366b7797cd00a">&#9670;&nbsp;</a></span>Right</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float detectNet::Detection::Right</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Right bounding box coordinate (in pixels) </p>

</div>
</div>
<a id="a2776e71cde1e6c41676bb5e6d12b1d0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2776e71cde1e6c41676bb5e6d12b1d0d">&#9670;&nbsp;</a></span>Top</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float detectNet::Detection::Top</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Top bounding box cooridnate (in pixels) </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>jetson-inference/<a class="el" href="detectNet_8h_source.html">detectNet.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classdetectNet.html">detectNet</a></li><li class="navelem"><a class="el" href="structdetectNet_1_1Detection.html">Detection</a></li>
    <li class="footer">Generated on Fri Jun 21 2019 16:23:15 for Jetson Inference by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
